package com.ruoyi.dgdData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单轨吊角度测试数据对象 data_dgd_jd
 * 
 * @author ruoyi
 * @date 2023-12-28
 */
@ApiModel(value = "单轨吊-角度测试对象")
public class DataDgdJd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角度id */
    private Long jdId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long dataTaskId;

    /** 平板id */
    @ApiModelProperty(value = "平板id")
    private Long id;

    /** 平板任务id */
    @Excel(name = "平板任务id")
    @ApiModelProperty(value = "平板任务id")
    private Long taskId;

    /** 最大角度 */
    @Excel(name = "最大角度")
    @ApiModelProperty(value = "最大角度")
    private String zdjd;

    /** 角度数值List */
    @Excel(name = "角度数值List")
    @ApiModelProperty(value = "角度数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    //@JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String jiaoduList;


    /** 角度线 */
    private ChartLineDTO jdChartLineDTO;

    /** 本次测试的运行时间 */
    @Excel(name = "本次测试的运行时间")
    @ApiModelProperty(value = "本次测试的运行时间")
    private String yxshj;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "保存时间")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    public void setJdId(Long jdId) 
    {
        this.jdId = jdId;
    }

    public Long getJdId() 
    {
        return jdId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setZdjd(String zdjd) 
    {
        this.zdjd = zdjd;
    }

    public String getZdjd() 
    {
        return zdjd;
    }
    public void setJiaoduList(String jiaoduList) 
    {
        this.jiaoduList = jiaoduList;
    }

    public String getJiaoduList() 
    {
        return jiaoduList;
    }
    public void setYxshj(String yxshj) 
    {
        this.yxshj = yxshj;
    }

    public String getYxshj() 
    {
        return yxshj;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getJdChartLineDTO() {
        return jdChartLineDTO;
    }

    public void setJdChartLineDTO(ChartLineDTO jdChartLineDTO) {
        this.jdChartLineDTO = jdChartLineDTO;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jdId", getJdId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("zdjd", getZdjd())
            .append("jiaoduList", getJiaoduList())
            .append("yxshj", getYxshj())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
